﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>


<title></title>
</head>

<div class="ibox-content">
	<form class="form-horizontal" id="dataform"
		onsubmit="javascripr:return false;">
				
		<div class="form-group">
			<label class="col-sm-2 control-label">评审对象</label>
			<div class="col-sm-8">
				<div class="form-control-static">${obj.projUserName }</div>
			</div>			
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">评审标题</label>
			<div class="col-sm-8">
				<div class="form-control-static">${obj.title }</div>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">评审时间</label>
			<div class="col-sm-10">
				<div class="form-control-static">
					<fmt:formatDate value="${obj.time }" pattern="yyyy年MM月dd日" /> 
					
				</div>			
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">好评度</label>
			<div class="col-sm-8">
				<div class="form-control-static">${obj.score } %</div>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">评审内容</label>
			<div class="col-sm-8">
				<div class="form-control-static">${obj.content }</div>
			</div>			
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">评审细则</label>
			<div class="col-sm-10">
				<table class="table table-bordered table-hover table-striped">
 					<tr>
 						<th class="center">问题</th>
 						<th class="center">是/否</th>
 						<th class="center">备注</th>
 					</tr>
 					<c:forEach items="${list }" var="item" >
 						<tr>					
							<td class="center">
								${item.what }						
							</td>
	 						<td class="center">
	 							${item.answer }				
							</td>	 						
	 						<td class="center">
	 							${item.remark }
	 						</td>
 						</tr>
					</c:forEach>
				</table>
			</div>			
		</div>
		
		
	</form>
</div>
<script type="text/javascript">

	$(".select2").select2();
	
	$('.datetimepicker').datetimepicker({
		format : "yyyy-mm-dd",
		startView : 2,
		maxView : 3,
		minView : 2
	});
	
	var myForm = MForm.initForm({
		invokeUrl : "${path}/admin/codeReview/addOrModify",
		afterSubmit : function() {
			parent.myGrid.serchData();
		},
	});
	

</script>
</body>
</html>